import SvgCanvas from '../../svgcanvas/svgcanvas.js'
import BottomPanelHtml from './LayerBottom.html'

const { $id } = SvgCanvas

/*
 * register actions for left panel
 */
/**
  * @type {module}
*/
class layerBottom {
  /**
   * @param {PlainObject} editor svgedit handler
  */
  constructor (editor) {
    this.editor = editor
  }


  /**
  * @type {module}
  */
  init () {
    // register actions for Bottom panel
    const template = document.createElement('template')
    const { i18next } = this.editor

    template.innerHTML = BottomPanelHtml
    
    this.editor.$svgEditor.append(template.content.cloneNode(true))
   
  }
}

export default layerBottom
